import request from '@/utils/request'

// 查询互感器资产信息列表
export function listMdIt(query) {
  return request({
    url: '/storage/mdIt/list',
    method: 'get',
    params: query
  })
}

// 查询互感器资产信息详细
export function getMdIt(itId) {
  return request({
    url: '/storage/mdIt/' + itId,
    method: 'get'
  })
}

// 新增互感器资产信息
export function addMdIt(data) {
  return request({
    url: '/storage/mdIt',
    method: 'post',
    data: data
  })
}

// 修改互感器资产信息
export function updateMdIt(data) {
  return request({
    url: '/storage/mdIt',
    method: 'put',
    data: data
  })
}

// 删除互感器资产信息
export function delMdIt(itId) {
  return request({
    url: '/storage/mdIt/' + itId,
    method: 'delete'
  })
}
